<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class User_model extends CI_Model {
	
	public function __construct(){
	
		parent::__construct();
	
	}
	
	//-----------------------收藏-------------------------------//
	
	/*
	 * 删除收藏产品
	 * */
	public function deletewish($uid='',$num = ''){
	
		if(!$uid||!$num) return false;
	
		return $this->db->delete('wishlist',array('uid'=>$uid,'product_id'=>$num));
	
	}
	
}